Merge lp:~canonical-dx-team/unity/unity.trash-can into lp:unity
| Status: | Merged |
|---|---|
| Approved by: | Neil J. Patel on 2010-11-24 |
| Approved revision: | 625 |
| Merged at revision: | 625 |
| Proposed branch: | lp:~canonical-dx-team/unity/unity.trash-can |
| Merge into: | lp:unity |
| Diff against target: |
272 lines (+105/-19) 11 files modified
po/unity.pot (+1/-1) src/BamfLauncherIcon.cpp (+1/-1) src/BamfLauncherIcon.h (+1/-1) src/Launcher.cpp (+2/-1) src/LauncherController.cpp (+11/-1) src/LauncherController.h (+3/-1) src/LauncherModel.cpp (+1/-4) src/SimpleLauncherIcon.cpp (+1/-1) src/SimpleLauncherIcon.h (+1/-8) src/TrashLauncherIcon.cpp (+47/-0) src/TrashLauncherIcon.h (+36/-0) |
| To merge this branch: | bzr merge lp:~canonical-dx-team/unity/unity.trash-can |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Neil J. Patel (community) | 2010-11-24 | Approve on 2010-11-24 | |
|
Review via email:
|
|||
=== modified file 'po/unity.pot'
--- po/unity.pot 2010-11-23 11:36:14 +0000
+++ po/unity.pot 2010-11-24 19:11:42 +0000
@@ -8,7 +8,7 @@
msgstr ""
"Project-
"Report-
-"POT-Creation-
+"POT-Creation-
Why do I keep seeing this file modified? Please clean up your diffs.
+
+TrashLauncherI
+: SimpleLauncherI
+{
+ SetTooltipText ("Trash");
Should the "Trash" tooltip not be marked for translation?
+void
+TrashLauncherI
+{
+ if (button == 1)
+ {
+ GError *error = NULL;
+
+ g_spawn_
+
+ if (error)
+ g_error_free (error);
+ }
+}
Instead of doing 'xdg-open trash://' I'd rather see a purely
programmatic approach like
g_app_info_
the possibility of spawning the trash:// view on the right screen.
Also, please print out the error with g_critical() if it's set.


Looks good, approved.