mirror of
https://github.com/rfc2822/GfxTablet
synced 2025-10-05 10:29:25 +02:00
* Added "About" action bar item
* Default hostname is invalid so that widget will be disabled with a warning by default until a host is set * Bug fix when sending resolution to X server
This commit is contained in:
parent
f7fe39c657
commit
410516a7da
5 changed files with 19 additions and 17 deletions
|
@ -1,5 +1,6 @@
|
|||
package com.gimpusers.xorgtablet;
|
||||
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.preference.PreferenceManager;
|
||||
import android.app.Activity;
|
||||
|
@ -44,6 +45,10 @@ public class CanvasActivity extends Activity {
|
|||
return true;
|
||||
}
|
||||
|
||||
public void showAbout(MenuItem item) {
|
||||
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(("https://github.com/rfc2822/XorgTablet"))));
|
||||
}
|
||||
|
||||
public void showSettings(MenuItem item) {
|
||||
startActivity(new Intent(CanvasActivity.this, SettingsActivity.class));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue